/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PnlHome.java
 *
 * Created on 9 ก.พ. 2553, 0:26:18
 */

package warehouse;

/**
 *
 * @author Poko
 */
public class PnlHome extends javax.swing.JPanel {

    /** Creates new form PnlHome */
    public PnlHome() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        PnlHeadHome = new javax.swing.JPanel();
        lblHeadHome = new javax.swing.JLabel();
        btnHomeReport = new javax.swing.JButton();
        pnlHome = new javax.swing.JPanel();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();
        jButton5 = new javax.swing.JButton();
        jButton6 = new javax.swing.JButton();
        jButton7 = new javax.swing.JButton();
        jButton8 = new javax.swing.JButton();
        jButton9 = new javax.swing.JButton();
        jButton10 = new javax.swing.JButton();
        jButton11 = new javax.swing.JButton();
        jButton12 = new javax.swing.JButton();
        jButton13 = new javax.swing.JButton();
        jButton14 = new javax.swing.JButton();
        jButton15 = new javax.swing.JButton();
        jButton16 = new javax.swing.JButton();
        jButton17 = new javax.swing.JButton();

        setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        setMaximumSize(new java.awt.Dimension(700, 500));
        setMinimumSize(new java.awt.Dimension(700, 500));
        setLayout(new java.awt.BorderLayout());

        PnlHeadHome.setBackground(new java.awt.Color(204, 255, 204));
        PnlHeadHome.setForeground(new java.awt.Color(236, 233, 216));
        PnlHeadHome.setFont(new java.awt.Font("Tahoma", 0, 12));
        PnlHeadHome.setMaximumSize(new java.awt.Dimension(700, 80));
        PnlHeadHome.setMinimumSize(new java.awt.Dimension(700, 80));
        PnlHeadHome.setPreferredSize(new java.awt.Dimension(700, 80));

        lblHeadHome.setFont(new java.awt.Font("Tahoma", 1, 16));
        lblHeadHome.setText("หน้าหลัก");

        btnHomeReport.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icon/report_30x30.gif"))); // NOI18N
        btnHomeReport.setMaximumSize(new java.awt.Dimension(40, 40));
        btnHomeReport.setMinimumSize(new java.awt.Dimension(40, 40));
        btnHomeReport.setPreferredSize(new java.awt.Dimension(40, 40));

        javax.swing.GroupLayout PnlHeadHomeLayout = new javax.swing.GroupLayout(PnlHeadHome);
        PnlHeadHome.setLayout(PnlHeadHomeLayout);
        PnlHeadHomeLayout.setHorizontalGroup(
            PnlHeadHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PnlHeadHomeLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(PnlHeadHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnHomeReport, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblHeadHome))
                .addGap(617, 617, 617))
        );
        PnlHeadHomeLayout.setVerticalGroup(
            PnlHeadHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PnlHeadHomeLayout.createSequentialGroup()
                .addGap(10, 10, 10)
                .addComponent(lblHeadHome)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnHomeReport, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        add(PnlHeadHome, java.awt.BorderLayout.PAGE_START);

        pnlHome.setFont(new java.awt.Font("Tahoma", 0, 12));

        jButton1.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton1.setText("ประเภทสินค้า");
        jButton1.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton1.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton1.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton2.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton2.setText("รายละเอียดประเภทสินค้า");
        jButton2.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton2.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton2.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton3.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton3.setText("Supplier");
        jButton3.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton3.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton3.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton4.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton4.setText("สินค้า");
        jButton4.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton4.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton4.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton5.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton5.setText("หน่วยสินค้า");
        jButton5.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton5.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton5.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton6.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton6.setText("การขอซื้อ");
        jButton6.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton6.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton6.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton7.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton7.setText("รายละเอียดการขอซื้อ");
        jButton7.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton7.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton7.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton8.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton8.setText("การสั่งซื้อ");
        jButton8.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton8.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton8.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton9.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton9.setText("การรับสินค้า");
        jButton9.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton9.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton9.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton10.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton10.setText("การชำระเงิน");
        jButton10.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton10.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton10.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton11.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton11.setText("ตรวจสอบสินค้า");
        jButton11.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton11.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton11.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton12.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton12.setText("พนักงาน");
        jButton12.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton12.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton12.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton13.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton13.setText("หน้าที่");
        jButton13.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton13.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton13.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton14.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton14.setText("สถานะสินค้า");
        jButton14.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton14.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton14.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton15.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton15.setText("สถานะการซื้อ");
        jButton15.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton15.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton15.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton16.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton16.setText("สถานะการชำระเงิน");
        jButton16.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton16.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton16.setPreferredSize(new java.awt.Dimension(200, 40));

        jButton17.setFont(new java.awt.Font("Tahoma", 0, 14));
        jButton17.setText("การซ่อม/เครมสินค้า");
        jButton17.setMaximumSize(new java.awt.Dimension(200, 40));
        jButton17.setMinimumSize(new java.awt.Dimension(200, 40));
        jButton17.setPreferredSize(new java.awt.Dimension(200, 40));

        javax.swing.GroupLayout pnlHomeLayout = new javax.swing.GroupLayout(pnlHome);
        pnlHome.setLayout(pnlHomeLayout);
        pnlHomeLayout.setHorizontalGroup(
            pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlHomeLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jButton7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnlHomeLayout.createSequentialGroup()
                        .addComponent(jButton8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlHomeLayout.createSequentialGroup()
                        .addComponent(jButton9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(pnlHomeLayout.createSequentialGroup()
                        .addComponent(jButton10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jButton11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(60, 60, 60))
        );
        pnlHomeLayout.setVerticalGroup(
            pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlHomeLayout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(pnlHomeLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jButton17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(54, Short.MAX_VALUE))
        );

        add(pnlHome, java.awt.BorderLayout.CENTER);
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel PnlHeadHome;
    private javax.swing.JButton btnHomeReport;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton10;
    private javax.swing.JButton jButton11;
    private javax.swing.JButton jButton12;
    private javax.swing.JButton jButton13;
    private javax.swing.JButton jButton14;
    private javax.swing.JButton jButton15;
    private javax.swing.JButton jButton16;
    private javax.swing.JButton jButton17;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton5;
    private javax.swing.JButton jButton6;
    private javax.swing.JButton jButton7;
    private javax.swing.JButton jButton8;
    private javax.swing.JButton jButton9;
    private javax.swing.JLabel lblHeadHome;
    private javax.swing.JPanel pnlHome;
    // End of variables declaration//GEN-END:variables

}
